//
//  VerCollectionViewCell.swift
//  DiffableDataSource
//
//  Created by bin hu on 2025/6/4.
//

import UIKit

class VerCollectionViewCell: UICollectionViewCell {

    
    override init(frame: CGRect) {
        super.init(frame: frame)
        
        let v = UIView()
        v.frame = CGRect(x: 10, y: 10, width: frame.width - 20, height: frame.height - 20)
        v.backgroundColor = .blue
        contentView.addSubview(v)
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
}

class HorCollectionViewCell: UICollectionViewCell {

    
    override init(frame: CGRect) {
        super.init(frame: frame)
        
        let v = UIView()
        v.frame = CGRect(x: 10, y: 10, width: frame.width - 20, height: frame.height - 20)
        v.backgroundColor = .red
        contentView.addSubview(v)
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
}
